/*
 *  SketchProtocol.h
 *  RunSketch
 *
 *  Created by Brian Hinch on 9/11/08.
 *  Copyright 2008 Tellart. All rights reserved.
 *
 */


#define kSketchProtocol_bytesPerValue 2
#define kSketchProtocol_numSetValues 10
#define kSketchProtocol_setMessageLength (1+(kSketchProtocol_numSetValues*kSketchProtocol_bytesPerValue))
#define kSketchProtocol_getMessageLength 1
#define kSketchProtocol_longestPossibleMessageLength kSketchProtocol_setMessageLength

#define kSketchProtocol_messageOffsetOpcode 0
#define kSketchProtocol_messageOpcodeLength 1

#define kSketchProtocol_getMessageOpcode (char)0x0081
#define kSketchProtocol_setMessageOpcode (char)0x0083

#define kSketchProtocol_messageValueMask 0x0F


